package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加油对象 car_gasoline
 * 
 * @author ruoyi
 * @date 2022-12-03
 */
public class CarGasoline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long gasolineId;

    /** 车牌 */
    @Excel(name = "车牌")
    private String carNumber;

    /** 油价 */
    @Excel(name = "油价")
    private Long price;

    /** 油量 */
    @Excel(name = "油量")
    private Long quantity;

    /** 油类型 */
    @Excel(name = "油类型")
    private String type;

    /** 油费 */
    @Excel(name = "油费")
    private Long money;

    public void setGasolineId(Long gasolineId) 
    {
        this.gasolineId = gasolineId;
    }

    public Long getGasolineId() 
    {
        return gasolineId;
    }
    public void setCarNumber(String carNumber) 
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber() 
    {
        return carNumber;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gasolineId", getGasolineId())
            .append("carNumber", getCarNumber())
            .append("price", getPrice())
            .append("quantity", getQuantity())
            .append("type", getType())
            .append("money", getMoney())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
